<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>v-text 指令</title>
</head>
<body>
<div id="root">
    <h2>abcque</h2>
    <div>{{ inner }}</div>
    <div v-text="inner"></div>
</div>

<script type="module">
  import {createApp, ref} from "../../../../js/vue.esm-browser.js";

  const app = createApp({
      setup(){
          // let message = "Hello, World!"
          let message = ref("Hello, World!")
          return{
              inner: "<h2>abcque</h2>"
          }
      }
  })
  app.mount("#root")
</script>
</body>
</html>